Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/Microchip Technology/ATSAMV71J20/MCAN0/ECR#0x0
Error Counter Register
Transmit Error Counter
Receive Error Counter
Receive Error Passive
CAN Error Logging (cleared on read)
https://github.com/cmsis-svd/cmsis-svd-data